package com.gtw.modules.sys.service.impl;

import com.gtw.modules.dao.MemberCommodityPropertyDao;
import com.gtw.modules.entity.MemberCommodityPropertyEntity;
import com.gtw.modules.entity.TbCommodityProperty;
import com.gtw.modules.sys.service.SysMemberPropertyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.gtw.modules.dao.MemberPropertyDao;
import com.gtw.modules.entity.MemberPropertyEntity;



@Service
public class SysMemberPropertyServiceImpl implements SysMemberPropertyService {
	@Autowired
	private MemberPropertyDao memberPropertyDao;

	@Autowired
	private MemberCommodityPropertyDao memberCommodityPropertyDao;
	
	@Override
	public MemberPropertyEntity queryObject(Integer id){
		return memberPropertyDao.queryObject(id);
	}
	
	@Override
	public List<MemberPropertyEntity> queryList(Map<String, Object> map){
		return memberPropertyDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return memberPropertyDao.queryTotal(map);
	}
	
	@Override
	public void save(MemberPropertyEntity memberProperty){
		memberPropertyDao.save(memberProperty);
	}
	
	@Override
	public void update(MemberPropertyEntity memberProperty){
		memberPropertyDao.update(memberProperty);
	}
	
	@Override
	public void delete(Integer id){
		memberPropertyDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		memberPropertyDao.deleteBatch(ids);
	}

	@Override
	public List<MemberPropertyEntity> findaLLProperty() {
		return memberPropertyDao.findaLLProperty();
	}

}
